package message;

import java.io.Serializable;
/**
 * "NewBox" message implements Message interface
 * @author ran
 *
 */
public class NewBox implements Message,Serializable{
	/**
	 * default serialVersionUID
	 */
	private static final long serialVersionUID = 1L;
	String boxName;
	public NewBox(String boxName) {
		this.boxName=boxName;
	}
	@Override
	public MessageType getType() {
		return MessageType.NEW_BOX;
	}
	public String getBoxName() {
		return boxName;
	}
}
